package com.hljx.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hljx.dto.WorkloadAppealDTO;
import com.hljx.entity.WorkloadAppeal;
import com.hljx.mapper.sys.WorkloadAppealMapper;
import com.hljx.service.WorkloadAppealService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hljx.vo.WorkloadAppealVO;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 工作量申诉 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2024-04-22
 */
@Service
public class WorkloadAppealServiceImpl extends ServiceImpl<WorkloadAppealMapper, WorkloadAppeal> implements WorkloadAppealService {

    @Override
    public IPage<WorkloadAppealVO> listByPage(WorkloadAppealDTO dto) {
        return baseMapper.listByPage(dto.getPage(),dto);
    }

    @Override
    public boolean delete(Long id) {
        return baseMapper.delete(id);
    }
}
